#include "Stack.h"



int main(void)
{
	SqStack stok;
	StackInit(&stok);

	StackPush(&stok, 1);
	StackPush(&stok, 2);
	StackPush(&stok, 3);
	StackPush(&stok, 4);

	while (!StackEmpty(&stok))
	{
		printf("%d ", StackTop(&stok));
		StackPop(&stok);
	}
	printf("\n");
	StackDestory(&stok);
	return 0;
}